package com.feidee.data.report.service;

import com.alibaba.fastjson.JSONObject;
import com.feidee.data.report.model.RealTimeMetricParam;
import com.feidee.data.report.model.RealTimeParam;
import com.feidee.data.report.model.RealTimeReportConfigModel.RealTimeConfigModel;

import java.util.List;
import java.util.Map;

public interface IRealTimeReportServices {
	List<JSONObject> runSql(List<RealTimeMetricParam> views, Map<String, String> searchSqls);
	Map<String, String> getSearchSql(RealTimeParam realTimeParam);
	String getConfig();

	String setConfig(RealTimeConfigModel realTimeConfigModel);
    JSONObject aggCal(RealTimeParam realTimeParam, Map<String, String> searchSqls);
}
